package com.study8.demo8.interceptor;

import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName AdminInterceptor
 * @Description: TODO
 * @Author: Peak Croft
 * @Date: 2022/3/30 13:33
 * @Version 1.0
 */
public class AdminInterceptor implements HandlerInterceptor {

  /**
   * 在请求处理之前进行调用（Controller方法调用之前）
   */
  @Override
  public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {

    return false;
  }

}
